package com.untour.im.codec.protocol.message.content;

import lombok.Data;

import java.util.Set;

/**
 * 群聊消息
 **/
@Data
public class GroupRequestMessageContent<T extends MessageContent> extends ImMessageContent<T> implements MessageContent{

    /**
     * 接收方
     */
    private String toGroupId;

    /**
     * @某些人
     */
    private Set<String> callIds;

    public GroupRequestMessageContent(T content, String toGroupId, Set<String> callIds) {
        super(content);
        this.toGroupId = toGroupId;
        this.callIds = callIds;
    }
}
